package com.hfstu.framework.exceptions;

public class HfstuException extends RuntimeException {
	private static final long serialVersionUID = -4138013499105708265L;
	private SystemExceptionTypeEnum exceptionType = SystemExceptionTypeEnum.UNKNOWN;

	public HfstuException() {
	}

	public HfstuException(SystemExceptionTypeEnum exceptionType) {
		this.exceptionType = exceptionType;
	}

	public HfstuException(String msg) {
		super(msg);
	}

	public HfstuException(String msg, SystemExceptionTypeEnum exceptionType) {
		super(msg);
		this.exceptionType = exceptionType;
	}

	public HfstuException(Throwable cause) {
		super(cause);
	}

	public HfstuException(Throwable cause,
			SystemExceptionTypeEnum exceptionType) {
		super(cause);
		this.exceptionType = exceptionType;
	}

	public HfstuException(String msg, Throwable cause) {
		super(msg, cause);
	}

	public HfstuException(String msg, Throwable cause,
			SystemExceptionTypeEnum exceptionType) {
		super(msg, cause);
		this.exceptionType = exceptionType;
	}

	public SystemExceptionTypeEnum getExceptionType() {
		return this.exceptionType;
	}

	public void setExceptionType(SystemExceptionTypeEnum exceptionType) {
		this.exceptionType = exceptionType;
	}
}